]> dgit.raspbian.org Git - gnome-shell.git/commit
st/viewport: Invalidate the cached paint volume of ClutterActor
authorJonas Dreßler <verdre@v0yd.nl>
Sat, 24 Oct 2020 12:03:45 +0000 (14:03 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 12 Apr 2021 17:08:23 +0000 (17:08 +0000)
commitfab39bbea5d9a7a0330a1be548f8ee26cd7e3131
tree11a984ee83096464872b45a4d4a2ab7537af5e13
parenteb962887386654ca24ac479c40a35361c8916422
st/viewport: Invalidate the cached paint volume of ClutterActor

Since StViewport uses the value of the StAdjustment to create its custom
paint volume, ClutterActors newly introduced proper caching of paint
volumes doesn't get notifed about changes to that paint volume and will
simply reuse the cached old one.

So make use of the newly introduced
clutter_actor_invalidate_paint_volume() method to make sure ClutterActor
will ask for the paint volume again on the next paint.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1484>
src/st/st-viewport.c